<template>
	<view class="container">
		<view class="Telephone">
			<view class="text"><text>网关</text></view>
		</view>
		<view class="Submit">
			<button class="button" form-type="submit" @click="submit()" type="primary">添加</button>
		</view>
	</view>
</template>

<script>

	export default {
		data() {
			return {
				// name: '204',
			}
		},
	    // onLoad: function (option) { //option为object类型，会序列化上个页面传递的参数
		   // this.name=option.title
	    //     // console.log(option.id); //打印出上个页面传递的参数。
	    //     console.log(option); //打印出上个页面传递的参数。
	    // }
	}
</script>

<style>
	.Telephone {
		display: flex;
		margin-top: 2%;
		background: #FFFFFF;
		width: 100%;
		height: 100rpx;
		text-align: center;
	}
	
	.text {
		height: 100rpx;
		width: 30%;
		display: flex;
		justify-content: center;
		line-height: 100rpx;
	}
	
	.input {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 40%;
		height: 100rpx;
		line-height: 100rpx;
		text-align: left;
	}
	
	.v-button {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 0;
		width: 30%;
		height: 100rpx;
		line-height: 100rpx;
	}
	
	.Submit {
		display: flex;
		margin-top: 5%;
		width: 100%;
		height: 100rpx;
		justify-content: center;
	}
	
	.button {
		width: 700rpx;
	}
</style>
